home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / drivers / fuji24dr.zip / install.bat < prev    next >
DOS Batch File  |  1991-10-02  |  5KB  |  198 lines

  1. cls
  2. IF %2. == . GOTO NOPATH
  3. if "%1"=="1" goto DLMENU
  4. if "%1"=="2" goto WINDOWS
  5. if "%1"=="3" goto WP51
  6. if "%1"=="4" goto LOTUS
  7. if "%1"=="5" goto CAD
  8. if "%1"=="6" goto SKETCH
  9. if "%1"=="7" goto WORD
  10. if "%1"=="8" goto PDUMP
  11. if "%1"=="9" goto DW4
  12. if "%1"=="A" goto DW5
  13. goto END
  14. :DLMENU
  15. ECHO:
  16. ECHO Creating Directory, and copying DLMENU files ...
  17. ECHO:
  18. MD %2:\DLMENU >NUL
  19. COPY DLMENU\*.* %2:\DLMENU >NUL
  20. ECHODRV >C:\RETURN.BAT
  21. ECHOCD >>C:\RETURN.BAT
  22. CD >>C:\RETURN.BAT
  23. %2:
  24. CD %2:\DLMENU
  25. DLCFG
  26. CLS
  27. DLMENU /RES
  28. ECHO:
  29. echo:
  30. echo     DLMENU & WINDOWS 3
  31. echo    ────────────────────
  32. echo:    
  33. echo    DLMENU can be run within Windows as a standard DOS application in 
  34. echo    the normal way, although given the functionalty of the new Fujitsu
  35. echo    Windows driver, DLMENU will mainly be of use for your DOS 
  36. echo    applications.
  37. echo:
  38. echo    An Icon file ( DLMENU.ICO ) has been provided, and can be assigned 
  39. echo    to the program on addition of DLMENU to your chosen Group, Select 
  40. echo    CHANGE ICON option and specify the complete path to the .ICO file
  41. echo: 
  42. PAUSE
  43. CD \
  44. CALL C:\RETURN
  45. DEL C:\RETURN.BAT >NUL
  46. goto END
  47. :WINDOWS
  48. echo:
  49. echo Copying the Fujitsu 24pin printer driver for Windows 3.0 . . .
  50. echo:
  51. MD %2:\FUJIDRV >NUL
  52. COPY WINDOWS3\DLSERIES.EXE %2:\FUJIDRV >NUL
  53. ECHODRV >C:\RETURN.BAT
  54. ECHOCD >>C:\RETURN.BAT
  55. CD >>C:\RETURN.BAT
  56. %2:
  57. CD %2:\FUJIDRV
  58. DLSERIES 
  59. DEL DLSERIES.EXE
  60. CD \
  61. CLS
  62. echo Please read the instructions provided by selecting
  63. echo the Info box during this installation. After you have 
  64. echo finished setting up the Windows driver, please Exit Windows in
  65. echo the normal way. That will then return you to the Utility Disk
  66. echo Main Menu.
  67. echo:
  68. pause
  69. WIN %2:\FUJIDRV\INSTALL.EXE
  70. CALL C:\RETURN
  71. DEL C:\RETURN.BAT
  72. DEL %2:\FUJIDRV\f*.* >NUL
  73. DEL %2:\FUJIDRV\I*.* >NUL
  74. DEL %2:\FUJIDRV\R*.* >NUL
  75. RD %2:\FUJIDRV
  76. goto END
  77. :WP51
  78. IF NOT EXIST %2\WP.EXE GOTO WRONGPATH
  79. echo:
  80. echo Copying the Fujitsu 24pin printer driver for WordPerfect 5.1 ...
  81. echo:
  82. COPY WP51\WP51fuj2.ALL %2 >NUL
  83. ECHO To select this new driver, run WordPerfect and select Additional
  84. echo Printers from the Print (Shift F7) section of WordPerfect 5.1
  85. echo:
  86. pause
  87. goto END
  88. :LOTUS
  89. IF NOT EXIST %2\INSTALL.DFF GOTO WRONGPATH
  90. echo:
  91. echo Copying the Fujitsu 24pin printer driver for Lotus 123 Release 3.1 ...
  92. echo:
  93. MD C:\FUJIDRV
  94. COPY LOTUS\L3_124CP.EXE C:\FUJIDRV >NUL
  95. C:\FUJIDRV\L3_124CP C:\FUJIDRV
  96. DEL C:\FUJIDRV\L3_124CP.EXE
  97. C:\FUJIDRV\INSTALL %2
  98. DEL C:\FUJIDRV\*.L!F
  99. DEL C:\FUJIDRV\*.P!D
  100. DEL C:\FUJIDRV\*.D!D
  101. DEL C:\FUJIDRV\I.*
  102. DEL C:\FUJIDRV\R.*
  103. DEL C:\FUJIDRV\S.*
  104. RD C:\FUJIDRV
  105. goto END
  106. :CAD
  107. COPY AUTODESK\P*.* %2
  108. CLS
  109. ECHO:
  110. ECHO Please add the driver to the AUTOEXEC.BAT or the BAT file you use to run
  111. ECHO AutoCAD 10 or 11. The drivers are :-
  112. ECHO:
  113. ECHO       PPFUJI36.COM  and PPFUJIE.COM
  114. echo:
  115. echo:
  116. echo Please refer the PPFUJI36.DOC and PPFUJIE.DOC for further instructions.
  117. echo Both these files are now copied to %2
  118. echo:
  119. pause
  120. goto END
  121. :SKETCH
  122. COPY AUTODESK\S*.* %2
  123. CLS
  124. ECHO:
  125. ECHO Please add the driver to the AUTOEXEC.BAT or the BAT file you use to run
  126. ECHO AutoSketch. The drivers are :-
  127. ECHO:
  128. ECHO       SKFUJI36.COM  and SKFUJIE.COM
  129. echo:
  130. echo:
  131. echo Please refer the SKFUJI36.DOC and SKFUJIE.DOC for further instructions.
  132. echo Both these files are now copied to %2
  133. echo:
  134. pause
  135. goto END
  136. :WORD
  137. if not exist %2\word.exe goto WRONGPATH
  138. echo:
  139. ECHO Copying the Fujitsu 24pin printer driver, FDL4437.PRD, to Word.
  140. echo:
  141. echo When next you run Word, select the above .PRD driver in the Print
  142. echo Menu, and select your model of printer.
  143. echo:
  144. COPY MICROSFT\*.PRD %2 >NUL
  145. pause
  146. goto END
  147. :DW4
  148. CLS
  149. ECHO:
  150. ECHO Copying the IBM DisplayWrite Driver
  151. echo:
  152. echo       Please refer the IBM DisplayWrite documentation for 
  153. echo       selecting a new driver.
  154. echo:
  155. COPY IBM_DW\IBM_DW4\*.PFT %2 >NUL
  156. pause
  157. goto END
  158. :DW5
  159. CLS
  160. ECHO:
  161. ECHO Copying the IBM DisplayWrite Driver
  162. echo:
  163. echo       Please refer the IBM DisplayWrite documentation for 
  164. echo       selecting a new driver.
  165. echo:
  166. COPY IBM_DW\IBM_DW5\*.PFT %2 >NUL
  167. pause
  168. goto END
  169. :PDUMP
  170. ECHO:
  171. ECHO Creating Directory, and copying PDUMP files ...
  172. ECHO:
  173. MD %2:\PRTSCREN >NUL
  174. COPY PRTSCREN\*.* %2:\PRTSCREN >NUL
  175. %2:\PRTSCREN\PDUMP /H
  176. echo:
  177. echo Please refer the PDUMP.DOC and PDCFG.DOC for further instructions.
  178. echo Both these files are now copied to %2:\PRTSCREN
  179. echo:
  180. pause
  181. goto END
  182. :NODRIVE
  183. CLS
  184. ECHO:
  185. ECHO Sorry, the drive you requested is not suitable. Try another.
  186. echo:
  187. pause
  188. goto END
  189. :WRONGPATH
  190. CLS
  191. ECHO:
  192. ECHO Sorry, the path you specified is not correct.
  193. ECHO Please check your system before running Readme again.
  194. ECHO:
  195. PAUSE
  196. :END
  197. README
  198.